package com.amway.qy.message.resp;

import com.amway.qy.core.constants.RespMsgType;

public class RespTextMessage extends RespBaseMessage {
	
	protected String Content;
	
	
	/*
	 * 考虑到与微信的交互，有相关的特定字段约束（e.g 必有项），为防止上层业务用户调用时，发生错漏。需要在创建相应的实例时，就必须提供必填项。
	 */
	public RespTextMessage(String toUserName, String fromUserName,String content){
		super(toUserName, fromUserName);
		this.Content = content;
		setMsgType(RespMsgType.RESP_MESSAGE_TYPE_TEXT);
	}

	public String getContent() {
		return Content;
	}

	public void setContent(String content) {
		Content = content;
	}

	@Override
	public String toString() {
		return "RespTextMessage [Content=" + Content + ", ToUserName=" + ToUserName + ", FromUserName=" + FromUserName
				+ ", CreateTime=" + CreateTime + ", MsgType=" + MsgType + "]";
	}
	
}
